import request from '@/utils/request'
// 发送条件+分页api的请求
export function searchPage(data) {
  return request({
    url: '/brand/findPageBrand',
    method: 'post',
    data
  })
}
export function addbrand(data) {
  return request({
    url: '/brand/creatBrand',
    method: 'post',
    data
  })
}
export function ChangeStatues(data) {
  return request({
    url: '/brand/changeStatues',
    method: 'get',
    data
  })
}
export function updateBrand(data) {
  return request({
    url: '/brand/updateBrand',
    method: 'post',
    data
  })
}
  export function delBrand(data) {
    return request({
      url: '/brand/deleteBrand',
      method: 'get',
      data
    })
}
